<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 5rem;
            height: 3rem;
            background-color: pink;
        }

    </style>

</head>
<body>
    <div class="box">
    </div>
    <!-- 引入适配的js文件就在body结束标签上引入 -->
   <!-- flexible文件主动1检测视口的宽度 
      2设置html的字体大小 其实就hi是宽度/10 -->
    <script src="../素材/js/flexible.js"></script>
</body>
</html>